package Game;
import Entities.User;
import Exceptions.StrategoException;
import Logic.IPlayEngine;

public interface IGameCenter {

	/*
	 * CreateNewGame  : Create New Game ("Room").
	 * 
	 * throw GameException if MaxNumOfPlayers is <2 || >4.
	 */
	public abstract IPlayEngine CreateNewGame(String GameName,
			int GameMaxNumOfPlayers, int NumOfAiPlayers, String PlayerName)
			throws StrategoException;

	public abstract IGameInfo getGameInfo(String GameName) throws StrategoException;
	
	public User signup(String username, String password) throws StrategoException;
	public User login(String username, String password) throws StrategoException;
	public User getUser(String username);
	public void deleteUser(String username, String password) throws StrategoException;
	
}